<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css 尺寸</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .container{
            width: 100%;
            height: auto;
            background-color: red;
        }
        .container .container_header{
            max-width: 1200px;
            min-width: 600px;
            height: 50px;
            background-color: blue;
            margin: 0 auto;
            text-align: right;
            line-height: 50px;
            color: white;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="container_header">
            test
        </div>
    </div>
</body>
</html>